package com.db.ionio.serialization;

/**
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */
public class ServerApp {
    public static void main(String[] args) {
        if (args.length < 1) {
            System.out.format("Usage: %s <port>%n", ServerApp.class.getName());
            System.exit(1);
        }

        int port = Integer.parseInt(args[0]);
        SerializationServer client = new SerializationServer(port);
        client.run();
    }
}
